package com.ucode.cgms.service.impl;

import com.ucode.cgms.mapper.CgmsGiftMapper;
import com.ucode.cgms.service.CgmsGiftService;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;
import java.util.Collection;

@Service
public class CgmsGiftServiceImpl implements CgmsGiftService {

    @Resource
    private CgmsGiftMapper cgmsGiftMapper;

    @Override
    public CgmsGiftMapper initMapper() {
        return cgmsGiftMapper;
    }

    @Override
    public int updateStatus(Collection<Long> ids, Integer status) {
        return cgmsGiftMapper.updateStatus(ids, status);
    }

}
